Accessing and Running BASIC Programs

Some of my Web files are BASIC programs written in either GW-BASIC orQuickBASIC. To run them, you will need to download them to your owndisk (for best results, give the file the extension .BAS) then loadone of the two versions of BASIC and run the program.

To load BASIC, find the directory on your computer that contains it(usually the DOS directory). At the DOS prompt, type GWBASIC orQBASIC as appropriate (if neither works, search your directories for afile titled ???BASIC.EXE, where the question marks are othercharacters. Once you find it, type in the program name. You need nottype in the .EXE part.)

All these programs employ low resolution color graphics. Any monitorwith graphics capability will display them.

This is meant as a quick guide to BASIC for non-programmers so theycan load and run the programs. If you wish to modify the programs (for example to upgrade the graphics) you are advised to consult a BASIC language reference.

You can copy, use and modify the programs freely provided you do notremove the author credit.

GW-BASIC

This is the older version of BASIC available with Microsoft DOS 3.3.It may also be called Microsoft BASIC. This version uses line numbersto label all program lines. Its main advantage is it is simple enoughto fit on a single floppy disk and will run on just about anything. GW-BASIC will not run QuickBasic programs.

To run the program:

QuickBASIC

This is a newer version of BASIC available with Microsoft DOS 5.0 andabove. It is a more Pascal-like BASIC. It does not use line numbers,and does permit indented program lines. QuickBASIC programs are ASCIIfiles and can be edited using QuickBASIC, the DOS editor, or most wordprocessors.

QuickBASIC will run GW-BASIC programs provided they have been storedas ASCII files (which they are if you download them from my WEB site).

To run a QuickBASIC program:

:Click here to return to Geometry Classics

:Click here to return to Professor Dutch'shome page

Last Update 1/6/1997